﻿package classes.view.component {	import fl.controls.ScrollPolicy;	import fl.controls.TextArea;	import fl.events.ComponentEvent;	import fl.managers.StyleManager;		import flash.events.Event;		public class Component_textarea extends TextArea {				private var _scrollShow:Boolean = false;		public function Component_textarea() {			initStyle(); 		}				private function initStyle():void		{			this.verticalScrollBar.setStyle("scrollBarWidth",16);			this.verticalScrollBar.setStyle("scrollArrowHeight",16);						this.verticalScrollBar.addEventListener(ComponentEvent.SHOW,	onShowHandler, true);		}				private function onShowHandler(e:ComponentEvent):void		{			if(!_scrollShow){				_scrollShow = true;				dispatchEvent(new Event("ShowScroll"));			}		}	}}